// ****************************************************************************** 
// Copyright     :  Copyright (C) 2018, Hisilicon Technologies Co. Ltd.
// File name     :  dum_reg_c_union_define.h
// Project line  :  
// Department    :  K5
// Author        :  AnthonySixta
// Version       :  1.0
// Date          :  2013/5/31
// Description   :  The description of xxx project
// Others        :  Generated automatically by nManager V4.2 
// History       :  AnthonySixta 2018/03/16 17:46:49 Create file
// ******************************************************************************

#ifndef __DUM_REG_C_UNION_DEFINE_H__
#define __DUM_REG_C_UNION_DEFINE_H__

/* Define the union U_DDR_IOTEST_CTRL0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ddrc_iotest_ctrl0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_IOTEST_CTRL0;

/* Define the union U_DDR_IOTEST_CTRL1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_0             : 16  ; /* [31:16] */
        unsigned int    ddrc_iotest_ctrl1 : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_IOTEST_CTRL1;

/* Define the union U_DDR_IETEST_CTRL0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ddrc_ietest_ctrl0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_IETEST_CTRL0;

/* Define the union U_DDR_IETEST_CTRL1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_1             : 16  ; /* [31:16] */
        unsigned int    ddrc_ietest_ctrl1 : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_IETEST_CTRL1;

/* Define the union U_DDR_OUT_CTRL0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ddrc_o_ctrl0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_OUT_CTRL0;

/* Define the union U_DDR_OUT_CTRL1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_2        : 16  ; /* [31:16] */
        unsigned int    ddrc_o_ctrl1 : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_OUT_CTRL1;

/* Define the union U_DDR_OE_CTRL0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ddrc_oe_ctrl0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_OE_CTRL0;

/* Define the union U_DDR_OE_CTRL1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_3         : 16  ; /* [31:16] */
        unsigned int    ddrc_oe_ctrl1 : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_OE_CTRL1;

/* Define the union U_DDR_IE_CTRL0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ddrc_ie_ctrl0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_IE_CTRL0;

/* Define the union U_DDR_IE_CTRL1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_4         : 16  ; /* [31:16] */
        unsigned int    ddrc_ie_ctrl1 : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_IE_CTRL1;

/* Define the union U_DDR_NE_CTRL0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ddrc_ne_ctrl0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_NE_CTRL0;

/* Define the union U_DDR_NE_CTRL1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_5         : 16  ; /* [31:16] */
        unsigned int    ddrc_ne_ctrl1 : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_NE_CTRL1;

/* Define the union U_DDR_ODTTEST_CTRL0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ddrc_odttest_ctrl0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_ODTTEST_CTRL0;

/* Define the union U_DDR_ODTTEST_CTRL1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_6              : 16  ; /* [31:16] */
        unsigned int    ddrc_odttest_ctrl1 : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_ODTTEST_CTRL1;

/* Define the union U_DDR_ODTEN_CTRL0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ddrc_odten_ctrl0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_ODTEN_CTRL0;

/* Define the union U_DDR_ODTEN_CTRL1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_7            : 16  ; /* [31:16] */
        unsigned int    ddrc_odten_ctrl1 : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_ODTEN_CTRL1;

/* Define the union U_DDR_IOTST_I_STAT0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ddrc_iotst_i_stat0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_IOTST_I_STAT0;

/* Define the union U_DDR_IOTST_I_STAT1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_8              : 16  ; /* [31:16] */
        unsigned int    ddrc_iotst_i_stat1 : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDR_IOTST_I_STAT1;

/* Define the union U_M3_MEM_ECC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_9            : 20  ; /* [31:12] */
        unsigned int    m3_merr_intsts   : 1  ; /* [11] */
        unsigned int    m3_serr_intsts   : 1  ; /* [10] */
        unsigned int    m3_merr_rint     : 1  ; /* [9] */
        unsigned int    m3_serr_rint     : 1  ; /* [8] */
        unsigned int    rsv_10           : 2  ; /* [7:6] */
        unsigned int    m3_merr_int_mask : 1  ; /* [5] */
        unsigned int    m3_serr_int_mask : 1  ; /* [4] */
        unsigned int    rsv_11           : 2  ; /* [3:2] */
        unsigned int    m3_mem_ecc_byp   : 1  ; /* [1] */
        unsigned int    m3_mem_wb        : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_M3_MEM_ECC;

/* Define the union U_DMC_BW_CTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_12      : 25  ; /* [31:7] */
        unsigned int    dmc_bw_pri  : 3  ; /* [6:4] */
        unsigned int    dmc_bw_win  : 2  ; /* [3:2] */
        unsigned int    dmc_bw_type : 1  ; /* [1] */
        unsigned int    dmc_bw_en   : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DMC_BW_CTRL;

/* Define the union U_DMC_BW_LVL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    dmc_bw_lvl1 : 16  ; /* [31:16] */
        unsigned int    dmc_bw_lvl0 : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DMC_BW_LVL;

/* Define the union U_DMC_BW_CMD_ID */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_13        : 14  ; /* [31:18] */
        unsigned int    dmc_bw_cmd_id : 18  ; /* [17:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DMC_BW_CMD_ID;

/* Define the union U_DMC_BW_CMD_IDMASK */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_14            : 14  ; /* [31:18] */
        unsigned int    dmc_bw_cmd_idmask : 18  ; /* [17:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DMC_BW_CMD_IDMASK;

/* Define the union U_INBAND_ECC_CTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_15 : 31  ; /* [31:1] */
        unsigned int    en     : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_CTRL;

/* Define the union U_INBAND_ECC_BASE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_BASE;

/* Define the union U_INBAND_ECC_ERRINJ */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    err_inject_mask1 : 8  ; /* [31:24] */
        unsigned int    err_inject_mask0 : 8  ; /* [23:16] */
        unsigned int    rsv_16           : 2  ; /* [15:14] */
        unsigned int    err_inject_byte1 : 5  ; /* [13:9] */
        unsigned int    err_inject_byte0 : 5  ; /* [8:4] */
        unsigned int    rsv_17           : 2  ; /* [3:2] */
        unsigned int    err_inject_mode  : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_ERRINJ;

/* Define the union U_INBAND_ECC_INT_STATUS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_18 : 30  ; /* [31:2] */
        unsigned int    uerr   : 1  ; /* [1] */
        unsigned int    cerr   : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_STATUS;

/* Define the union U_INBAND_ECC_INT_CERR_INFO */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_INFO;

/* Define the union U_INBAND_ECC_INT_UERR_INFO */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_UERR_INFO;

/* Define the union U_INBAND_ECC_INT_CERR_DATA0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_DATA0;

/* Define the union U_INBAND_ECC_INT_CERR_DATA1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_DATA1;

/* Define the union U_INBAND_ECC_INT_CERR_DATA2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_DATA2;

/* Define the union U_INBAND_ECC_INT_CERR_DATA3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_DATA3;

/* Define the union U_INBAND_ECC_INT_CERR_ECC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_19 : 16  ; /* [31:16] */
        unsigned int    data   : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_ECC;

/* Define the union U_INBAND_ECC_INT_UERR_DATA0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_UERR_DATA0;

/* Define the union U_INBAND_ECC_INT_UERR_DATA1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_UERR_DATA1;

/* Define the union U_INBAND_ECC_INT_UERR_DATA2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_UERR_DATA2;

/* Define the union U_INBAND_ECC_INT_UERR_DATA3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_UERR_DATA3;

/* Define the union U_INBAND_ECC_INT_UERR_ECC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_20 : 16  ; /* [31:16] */
        unsigned int    data   : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_UERR_ECC;

/* Define the union U_INBAND_ECC_INTMSK */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_21             : 30  ; /* [31:2] */
        unsigned int    inband_uerr_intmsk : 1  ; /* [1] */
        unsigned int    inband_cerr_intmsk : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INTMSK;

/* Define the union U_INBAND_ECC_RINT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_22           : 30  ; /* [31:2] */
        unsigned int    inband_uerr_rint : 1  ; /* [1] */
        unsigned int    inband_cerr_rint : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_RINT;

/* Define the union U_INBAND_ECC_INT_CERR_ID */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cerr_id : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_ID;

/* Define the union U_INBAND_ECC_INT_UERR_ID */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    uerr_id : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_UERR_ID;

/* Define the union U_INBAND_ECC_INT_CERR_EXPECT_DATA0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cerr_expect_data0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_EXPECT_DATA0;

/* Define the union U_INBAND_ECC_INT_CERR_EXPECT_DATA1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cerr_expect_data1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_EXPECT_DATA1;

/* Define the union U_INBAND_ECC_INT_CERR_EXPECT_DATA2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cerr_expect_data2 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_EXPECT_DATA2;

/* Define the union U_INBAND_ECC_INT_CERR_EXPECT_DATA3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cerr_expect_data3 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_EXPECT_DATA3;

/* Define the union U_INBAND_ECC_INT_CERR_EXPECT_ECC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_23          : 16  ; /* [31:16] */
        unsigned int    cerr_expect_ecc : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_EXPECT_ECC;

/* Define the union U_INBAND_ECC_INT_CERR_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    inband_ecc_cerr_cnt : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_CERR_CNT;

/* Define the union U_INBAND_ECC_INT_UERR_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    inband_ecc_uerr_cnt : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_INBAND_ECC_INT_UERR_CNT;

/* Define the union U_DMC_HIDDRPHY_REG_SLVERR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_24                  : 31  ; /* [31:1] */
        unsigned int    dmc_hiddrphy_reg_slverr : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DMC_HIDDRPHY_REG_SLVERR;

/* Define the union U_DBG_MODE_SEL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_25       : 27  ; /* [31:5] */
        unsigned int    dbg_mode_sel : 5  ; /* [4:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DBG_MODE_SEL;

/* Define the union U_DBG_MODE_OUT_UCE_TEST_POINT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_26         : 8  ; /* [31:24] */
        unsigned int    uce_test_point : 8  ; /* [23:16] */
        unsigned int    dbg_mode_out   : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DBG_MODE_OUT_UCE_TEST_POINT;

/* Define the union U_DDRC_COMMON_RDATA0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_27 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDRC_COMMON_RDATA0;

/* Define the union U_DDRC_COMMON_RDATA1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_28       : 12  ; /* [31:20] */
        unsigned int    rsv_29       : 4  ; /* [19:16] */
        unsigned int    rsv_30       : 14  ; /* [15:2] */
        unsigned int    uce_sys_idle : 1  ; /* [1] */
        unsigned int    uce_m3_idle  : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDRC_COMMON_RDATA1;

/* Define the union U_DDRC_COMMON_CTRL5 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_31          : 30  ; /* [31:2] */
        unsigned int    tz_uce_secure_n : 1  ; /* [1] */
        unsigned int    tz_dmc_secure_n : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDRC_COMMON_CTRL5;

/* Define the union U_DDRC_COMMON_CTRL4 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    clk_wr_en : 16  ; /* [31:16] */
        unsigned int    bypass    : 4  ; /* [15:12] */
        unsigned int    rsv_32    : 12  ; /* [11:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDRC_COMMON_CTRL4;

/* Define the union U_DDRC_COMMON_CTRL0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    clk_wr_en        : 16  ; /* [31:16] */
        unsigned int    rsv_33           : 1  ; /* [15] */
        unsigned int    uc_h2h_m_gt_en   : 1  ; /* [14] */
        unsigned int    rsv_34           : 7  ; /* [13:7] */
        unsigned int    dmc_apb_gt_en    : 1  ; /* [6] */
        unsigned int    rsv_35           : 5  ; /* [5:1] */
        unsigned int    phyupd_reqen_byp : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDRC_COMMON_CTRL0;

/* Define the union U_DDRC_COMMON_CTRL1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    clk_wr_en         : 16  ; /* [31:16] */
        unsigned int    rsv_36            : 7  ; /* [15:9] */
        unsigned int    rs_neg_tx_clock   : 1  ; /* [8] */
        unsigned int    rs1_tx_clock      : 1  ; /* [7] */
        unsigned int    rs0_tx_clock      : 1  ; /* [6] */
        unsigned int    rs2_rx_clock      : 1  ; /* [5] */
        unsigned int    rs1_rx_clock      : 1  ; /* [4] */
        unsigned int    rs_neg_rx_clock   : 1  ; /* [3] */
        unsigned int    dfi_clk_dlyline   : 1  ; /* [2] */
        unsigned int    dfi_clk_ddrphy    : 1  ; /* [1] */
        unsigned int    clk_ddrphy_apb_ac : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDRC_COMMON_CTRL1;

/* Define the union U_DDRC_COMMON_CTRL2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    clk_wr_en                : 16  ; /* [31:16] */
        unsigned int    rsv_37                   : 1  ; /* [15] */
        unsigned int    sc_uce_bus_autogt_bypass : 1  ; /* [14] */
        unsigned int    ddrphy_ref_clk_sel       : 1  ; /* [13] */
        unsigned int    icg_en_uce_32k           : 1  ; /* [12] */
        unsigned int    icg_en_perstat           : 1  ; /* [11] */
        unsigned int    icg_en_uce_engine        : 1  ; /* [10] */
        unsigned int    icg_en_dmc_free          : 1  ; /* [9] */
        unsigned int    icg_en_ddrphy_bypass     : 1  ; /* [8] */
        unsigned int    icg_en_ddrphy_ref        : 1  ; /* [7] */
        unsigned int    icg_en_dfi_dmc           : 1  ; /* [6] */
        unsigned int    icg_en_dfi_phy           : 1  ; /* [5] */
        unsigned int    icg_en_dfi_pack          : 1  ; /* [4] */
        unsigned int    icg_en_uce_bus           : 1  ; /* [3] */
        unsigned int    icg_en_uce               : 1  ; /* [2] */
        unsigned int    icg_en_pack_apb          : 1  ; /* [1] */
        unsigned int    icg_en_dmc_apb           : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDRC_COMMON_CTRL2;

/* Define the union U_DDRC_COMMON_CTRL3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    clk_wr_en           : 16  ; /* [31:16] */
        unsigned int    rsv_38              : 6  ; /* [15:10] */
        unsigned int    uc_div              : 2  ; /* [9:8] */
        unsigned int    srst_req_uce_32k    : 1  ; /* [7] */
        unsigned int    srst_req_dfi        : 1  ; /* [6] */
        unsigned int    srst_req_uce_engine : 1  ; /* [5] */
        unsigned int    srst_req_dmc_free   : 1  ; /* [4] */
        unsigned int    srst_req_dmc        : 1  ; /* [3] */
        unsigned int    srst_req_pack       : 1  ; /* [2] */
        unsigned int    srst_req_ucem3      : 1  ; /* [1] */
        unsigned int    srst_req_uce        : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DDRC_COMMON_CTRL3;


//==============================================================================
/* Define the global struct */
typedef struct
{
    volatile U_DDR_IOTEST_CTRL0                 DDR_IOTEST_CTRL0                 ; /* F00 */
    volatile U_DDR_IOTEST_CTRL1                 DDR_IOTEST_CTRL1                 ; /* F04 */
    volatile U_DDR_IETEST_CTRL0                 DDR_IETEST_CTRL0                 ; /* F08 */
    volatile U_DDR_IETEST_CTRL1                 DDR_IETEST_CTRL1                 ; /* F0C */
    volatile U_DDR_OUT_CTRL0                    DDR_OUT_CTRL0                    ; /* F10 */
    volatile U_DDR_OUT_CTRL1                    DDR_OUT_CTRL1                    ; /* F14 */
    volatile U_DDR_OE_CTRL0                     DDR_OE_CTRL0                     ; /* F18 */
    volatile U_DDR_OE_CTRL1                     DDR_OE_CTRL1                     ; /* F1C */
    volatile U_DDR_IE_CTRL0                     DDR_IE_CTRL0                     ; /* F20 */
    volatile U_DDR_IE_CTRL1                     DDR_IE_CTRL1                     ; /* F24 */
    volatile U_DDR_NE_CTRL0                     DDR_NE_CTRL0                     ; /* F28 */
    volatile U_DDR_NE_CTRL1                     DDR_NE_CTRL1                     ; /* F2C */
    volatile U_DDR_ODTTEST_CTRL0                DDR_ODTTEST_CTRL0                ; /* F30 */
    volatile U_DDR_ODTTEST_CTRL1                DDR_ODTTEST_CTRL1                ; /* F34 */
    volatile U_DDR_ODTEN_CTRL0                  DDR_ODTEN_CTRL0                  ; /* F38 */
    volatile U_DDR_ODTEN_CTRL1                  DDR_ODTEN_CTRL1                  ; /* F3C */
    volatile U_DDR_IOTST_I_STAT0                DDR_IOTST_I_STAT0                ; /* F40 */
    volatile U_DDR_IOTST_I_STAT1                DDR_IOTST_I_STAT1                ; /* F44 */
    volatile U_M3_MEM_ECC                       M3_MEM_ECC                       ; /* F4C */
    volatile U_DMC_BW_CTRL                      DMC_BW_CTRL                      ; /* F50 */
    volatile U_DMC_BW_LVL                       DMC_BW_LVL                       ; /* F54 */
    volatile U_DMC_BW_CMD_ID                    DMC_BW_CMD_ID                    ; /* F58 */
    volatile U_DMC_BW_CMD_IDMASK                DMC_BW_CMD_IDMASK                ; /* F5C */
    volatile U_INBAND_ECC_CTRL                  INBAND_ECC_CTRL                  ; /* F60 */
    volatile U_INBAND_ECC_BASE                  INBAND_ECC_BASE                  ; /* F64 */
    volatile U_INBAND_ECC_ERRINJ                INBAND_ECC_ERRINJ                ; /* F68 */
    volatile U_INBAND_ECC_INT_STATUS            INBAND_ECC_INT_STATUS            ; /* F6C */
    volatile U_INBAND_ECC_INT_CERR_INFO         INBAND_ECC_INT_CERR_INFO         ; /* F70 */
    volatile U_INBAND_ECC_INT_UERR_INFO         INBAND_ECC_INT_UERR_INFO         ; /* F74 */
    volatile U_INBAND_ECC_INT_CERR_DATA0        INBAND_ECC_INT_CERR_DATA0        ; /* F78 */
    volatile U_INBAND_ECC_INT_CERR_DATA1        INBAND_ECC_INT_CERR_DATA1        ; /* F7C */
    volatile U_INBAND_ECC_INT_CERR_DATA2        INBAND_ECC_INT_CERR_DATA2        ; /* F80 */
    volatile U_INBAND_ECC_INT_CERR_DATA3        INBAND_ECC_INT_CERR_DATA3        ; /* F84 */
    volatile U_INBAND_ECC_INT_CERR_ECC          INBAND_ECC_INT_CERR_ECC          ; /* F88 */
    volatile U_INBAND_ECC_INT_UERR_DATA0        INBAND_ECC_INT_UERR_DATA0        ; /* F8C */
    volatile U_INBAND_ECC_INT_UERR_DATA1        INBAND_ECC_INT_UERR_DATA1        ; /* F90 */
    volatile U_INBAND_ECC_INT_UERR_DATA2        INBAND_ECC_INT_UERR_DATA2        ; /* F94 */
    volatile U_INBAND_ECC_INT_UERR_DATA3        INBAND_ECC_INT_UERR_DATA3        ; /* F98 */
    volatile U_INBAND_ECC_INT_UERR_ECC          INBAND_ECC_INT_UERR_ECC          ; /* F9C */
    volatile U_INBAND_ECC_INTMSK                INBAND_ECC_INTMSK                ; /* FA0 */
    volatile U_INBAND_ECC_RINT                  INBAND_ECC_RINT                  ; /* FA4 */
    volatile U_INBAND_ECC_INT_CERR_ID           INBAND_ECC_INT_CERR_ID           ; /* FA8 */
    volatile U_INBAND_ECC_INT_UERR_ID           INBAND_ECC_INT_UERR_ID           ; /* FAC */
    volatile U_INBAND_ECC_INT_CERR_EXPECT_DATA0 INBAND_ECC_INT_CERR_EXPECT_DATA0 ; /* FB0 */
    volatile U_INBAND_ECC_INT_CERR_EXPECT_DATA1 INBAND_ECC_INT_CERR_EXPECT_DATA1 ; /* FB4 */
    volatile U_INBAND_ECC_INT_CERR_EXPECT_DATA2 INBAND_ECC_INT_CERR_EXPECT_DATA2 ; /* FB8 */
    volatile U_INBAND_ECC_INT_CERR_EXPECT_DATA3 INBAND_ECC_INT_CERR_EXPECT_DATA3 ; /* FBC */
    volatile U_INBAND_ECC_INT_CERR_EXPECT_ECC   INBAND_ECC_INT_CERR_EXPECT_ECC   ; /* FC0 */
    volatile U_INBAND_ECC_INT_CERR_CNT          INBAND_ECC_INT_CERR_CNT          ; /* FC4 */
    volatile U_INBAND_ECC_INT_UERR_CNT          INBAND_ECC_INT_UERR_CNT          ; /* FC8 */
    volatile U_DMC_HIDDRPHY_REG_SLVERR          DMC_HIDDRPHY_REG_SLVERR          ; /* FD0 */
    volatile U_DBG_MODE_SEL                     DBG_MODE_SEL                     ; /* FD8 */
    volatile U_DBG_MODE_OUT_UCE_TEST_POINT      DBG_MODE_OUT_UCE_TEST_POINT      ; /* FDC */
    volatile U_DDRC_COMMON_RDATA0               DDRC_COMMON_RDATA0               ; /* FE0 */
    volatile U_DDRC_COMMON_RDATA1               DDRC_COMMON_RDATA1               ; /* FE4 */
    volatile U_DDRC_COMMON_CTRL5                DDRC_COMMON_CTRL5                ; /* FE8 */
    volatile U_DDRC_COMMON_CTRL4                DDRC_COMMON_CTRL4                ; /* FEC */
    volatile U_DDRC_COMMON_CTRL0                DDRC_COMMON_CTRL0                ; /* FF0 */
    volatile U_DDRC_COMMON_CTRL1                DDRC_COMMON_CTRL1                ; /* FF4 */
    volatile U_DDRC_COMMON_CTRL2                DDRC_COMMON_CTRL2                ; /* FF8 */
    volatile U_DDRC_COMMON_CTRL3                DDRC_COMMON_CTRL3                ; /* FFC */

} S_dum_reg_REGS_TYPE;

/* Declare the struct pointor of the module dum_reg */
extern volatile S_dum_reg_REGS_TYPE *gopdum_regAllReg;

/* Declare the functions that set the member value */
int iSetDDR_IOTEST_CTRL0_ddrc_iotest_ctrl0(unsigned int uddrc_iotest_ctrl0);
int iSetDDR_IOTEST_CTRL1_ddrc_iotest_ctrl1(unsigned int uddrc_iotest_ctrl1);
int iSetDDR_IETEST_CTRL0_ddrc_ietest_ctrl0(unsigned int uddrc_ietest_ctrl0);
int iSetDDR_IETEST_CTRL1_ddrc_ietest_ctrl1(unsigned int uddrc_ietest_ctrl1);
int iSetDDR_OUT_CTRL0_ddrc_o_ctrl0(unsigned int uddrc_o_ctrl0);
int iSetDDR_OUT_CTRL1_ddrc_o_ctrl1(unsigned int uddrc_o_ctrl1);
int iSetDDR_OE_CTRL0_ddrc_oe_ctrl0(unsigned int uddrc_oe_ctrl0);
int iSetDDR_OE_CTRL1_ddrc_oe_ctrl1(unsigned int uddrc_oe_ctrl1);
int iSetDDR_IE_CTRL0_ddrc_ie_ctrl0(unsigned int uddrc_ie_ctrl0);
int iSetDDR_IE_CTRL1_ddrc_ie_ctrl1(unsigned int uddrc_ie_ctrl1);
int iSetDDR_NE_CTRL0_ddrc_ne_ctrl0(unsigned int uddrc_ne_ctrl0);
int iSetDDR_NE_CTRL1_ddrc_ne_ctrl1(unsigned int uddrc_ne_ctrl1);
int iSetDDR_ODTTEST_CTRL0_ddrc_odttest_ctrl0(unsigned int uddrc_odttest_ctrl0);
int iSetDDR_ODTTEST_CTRL1_ddrc_odttest_ctrl1(unsigned int uddrc_odttest_ctrl1);
int iSetDDR_ODTEN_CTRL0_ddrc_odten_ctrl0(unsigned int uddrc_odten_ctrl0);
int iSetDDR_ODTEN_CTRL1_ddrc_odten_ctrl1(unsigned int uddrc_odten_ctrl1);
int iSetDDR_IOTST_I_STAT0_ddrc_iotst_i_stat0(unsigned int uddrc_iotst_i_stat0);
int iSetDDR_IOTST_I_STAT1_ddrc_iotst_i_stat1(unsigned int uddrc_iotst_i_stat1);
int iSetM3_MEM_ECC_m3_merr_intsts(unsigned int um3_merr_intsts);
int iSetM3_MEM_ECC_m3_serr_intsts(unsigned int um3_serr_intsts);
int iSetM3_MEM_ECC_m3_merr_rint(unsigned int um3_merr_rint);
int iSetM3_MEM_ECC_m3_serr_rint(unsigned int um3_serr_rint);
int iSetM3_MEM_ECC_m3_merr_int_mask(unsigned int um3_merr_int_mask);
int iSetM3_MEM_ECC_m3_serr_int_mask(unsigned int um3_serr_int_mask);
int iSetM3_MEM_ECC_m3_mem_ecc_byp(unsigned int um3_mem_ecc_byp);
int iSetM3_MEM_ECC_m3_mem_wb(unsigned int um3_mem_wb);
int iSetDMC_BW_CTRL_dmc_bw_pri(unsigned int udmc_bw_pri);
int iSetDMC_BW_CTRL_dmc_bw_win(unsigned int udmc_bw_win);
int iSetDMC_BW_CTRL_dmc_bw_type(unsigned int udmc_bw_type);
int iSetDMC_BW_CTRL_dmc_bw_en(unsigned int udmc_bw_en);
int iSetDMC_BW_LVL_dmc_bw_lvl1(unsigned int udmc_bw_lvl1);
int iSetDMC_BW_LVL_dmc_bw_lvl0(unsigned int udmc_bw_lvl0);
int iSetDMC_BW_CMD_ID_dmc_bw_cmd_id(unsigned int udmc_bw_cmd_id);
int iSetDMC_BW_CMD_IDMASK_dmc_bw_cmd_idmask(unsigned int udmc_bw_cmd_idmask);
int iSetINBAND_ECC_CTRL_en(unsigned int uen);
int iSetINBAND_ECC_BASE_addr(unsigned int uaddr);
int iSetINBAND_ECC_ERRINJ_err_inject_mask1(unsigned int uerr_inject_mask1);
int iSetINBAND_ECC_ERRINJ_err_inject_mask0(unsigned int uerr_inject_mask0);
int iSetINBAND_ECC_ERRINJ_err_inject_byte1(unsigned int uerr_inject_byte1);
int iSetINBAND_ECC_ERRINJ_err_inject_byte0(unsigned int uerr_inject_byte0);
int iSetINBAND_ECC_ERRINJ_err_inject_mode(unsigned int uerr_inject_mode);
int iSetINBAND_ECC_INT_STATUS_uerr(unsigned int uuerr);
int iSetINBAND_ECC_INT_STATUS_cerr(unsigned int ucerr);
int iSetINBAND_ECC_INT_CERR_INFO_addr(unsigned int uaddr);
int iSetINBAND_ECC_INT_UERR_INFO_addr(unsigned int uaddr);
int iSetINBAND_ECC_INT_CERR_DATA0_data(unsigned int udata);
int iSetINBAND_ECC_INT_CERR_DATA1_data(unsigned int udata);
int iSetINBAND_ECC_INT_CERR_DATA2_data(unsigned int udata);
int iSetINBAND_ECC_INT_CERR_DATA3_data(unsigned int udata);
int iSetINBAND_ECC_INT_CERR_ECC_data(unsigned int udata);
int iSetINBAND_ECC_INT_UERR_DATA0_data(unsigned int udata);
int iSetINBAND_ECC_INT_UERR_DATA1_data(unsigned int udata);
int iSetINBAND_ECC_INT_UERR_DATA2_data(unsigned int udata);
int iSetINBAND_ECC_INT_UERR_DATA3_data(unsigned int udata);
int iSetINBAND_ECC_INT_UERR_ECC_data(unsigned int udata);
int iSetINBAND_ECC_INTMSK_inband_uerr_intmsk(unsigned int uinband_uerr_intmsk);
int iSetINBAND_ECC_INTMSK_inband_cerr_intmsk(unsigned int uinband_cerr_intmsk);
int iSetINBAND_ECC_RINT_inband_uerr_rint(unsigned int uinband_uerr_rint);
int iSetINBAND_ECC_RINT_inband_cerr_rint(unsigned int uinband_cerr_rint);
int iSetINBAND_ECC_INT_CERR_ID_cerr_id(unsigned int ucerr_id);
int iSetINBAND_ECC_INT_UERR_ID_uerr_id(unsigned int uuerr_id);
int iSetINBAND_ECC_INT_CERR_EXPECT_DATA0_cerr_expect_data0(unsigned int ucerr_expect_data0);
int iSetINBAND_ECC_INT_CERR_EXPECT_DATA1_cerr_expect_data1(unsigned int ucerr_expect_data1);
int iSetINBAND_ECC_INT_CERR_EXPECT_DATA2_cerr_expect_data2(unsigned int ucerr_expect_data2);
int iSetINBAND_ECC_INT_CERR_EXPECT_DATA3_cerr_expect_data3(unsigned int ucerr_expect_data3);
int iSetINBAND_ECC_INT_CERR_EXPECT_ECC_cerr_expect_ecc(unsigned int ucerr_expect_ecc);
int iSetINBAND_ECC_INT_CERR_CNT_inband_ecc_cerr_cnt(unsigned int uinband_ecc_cerr_cnt);
int iSetINBAND_ECC_INT_UERR_CNT_inband_ecc_uerr_cnt(unsigned int uinband_ecc_uerr_cnt);
int iSetDMC_HIDDRPHY_REG_SLVERR_dmc_hiddrphy_reg_slverr(unsigned int udmc_hiddrphy_reg_slverr);
int iSetDBG_MODE_SEL_dbg_mode_sel(unsigned int udbg_mode_sel);
int iSetDBG_MODE_OUT_UCE_TEST_POINT_uce_test_point(unsigned int uuce_test_point);
int iSetDBG_MODE_OUT_UCE_TEST_POINT_dbg_mode_out(unsigned int udbg_mode_out);

int iSetDDRC_COMMON_RDATA1_uce_sys_idle(unsigned int uuce_sys_idle);
int iSetDDRC_COMMON_RDATA1_uce_m3_idle(unsigned int uuce_m3_idle);
int iSetDDRC_COMMON_CTRL5_tz_uce_secure_n(unsigned int utz_uce_secure_n);
int iSetDDRC_COMMON_CTRL5_tz_dmc_secure_n(unsigned int utz_dmc_secure_n);
int iSetDDRC_COMMON_CTRL4_clk_wr_en(unsigned int uclk_wr_en);
int iSetDDRC_COMMON_CTRL4_bypass(unsigned int ubypass);
int iSetDDRC_COMMON_CTRL0_clk_wr_en(unsigned int uclk_wr_en);
int iSetDDRC_COMMON_CTRL0_uc_h2h_m_gt_en(unsigned int uuc_h2h_m_gt_en);
int iSetDDRC_COMMON_CTRL0_dmc_apb_gt_en(unsigned int udmc_apb_gt_en);
int iSetDDRC_COMMON_CTRL0_phyupd_reqen_byp(unsigned int uphyupd_reqen_byp);
int iSetDDRC_COMMON_CTRL1_clk_wr_en(unsigned int uclk_wr_en);
int iSetDDRC_COMMON_CTRL1_rs_neg_tx_clock(unsigned int urs_neg_tx_clock);
int iSetDDRC_COMMON_CTRL1_rs1_tx_clock(unsigned int urs1_tx_clock);
int iSetDDRC_COMMON_CTRL1_rs0_tx_clock(unsigned int urs0_tx_clock);
int iSetDDRC_COMMON_CTRL1_rs2_rx_clock(unsigned int urs2_rx_clock);
int iSetDDRC_COMMON_CTRL1_rs1_rx_clock(unsigned int urs1_rx_clock);
int iSetDDRC_COMMON_CTRL1_rs_neg_rx_clock(unsigned int urs_neg_rx_clock);
int iSetDDRC_COMMON_CTRL1_dfi_clk_dlyline(unsigned int udfi_clk_dlyline);
int iSetDDRC_COMMON_CTRL1_dfi_clk_ddrphy(unsigned int udfi_clk_ddrphy);
int iSetDDRC_COMMON_CTRL1_clk_ddrphy_apb_ac(unsigned int uclk_ddrphy_apb_ac);
int iSetDDRC_COMMON_CTRL2_clk_wr_en(unsigned int uclk_wr_en);
int iSetDDRC_COMMON_CTRL2_sc_uce_bus_autogt_bypass(unsigned int usc_uce_bus_autogt_bypass);
int iSetDDRC_COMMON_CTRL2_ddrphy_ref_clk_sel(unsigned int uddrphy_ref_clk_sel);
int iSetDDRC_COMMON_CTRL2_icg_en_uce_32k(unsigned int uicg_en_uce_32k);
int iSetDDRC_COMMON_CTRL2_icg_en_perstat(unsigned int uicg_en_perstat);
int iSetDDRC_COMMON_CTRL2_icg_en_uce_engine(unsigned int uicg_en_uce_engine);
int iSetDDRC_COMMON_CTRL2_icg_en_dmc_free(unsigned int uicg_en_dmc_free);
int iSetDDRC_COMMON_CTRL2_icg_en_ddrphy_bypass(unsigned int uicg_en_ddrphy_bypass);
int iSetDDRC_COMMON_CTRL2_icg_en_ddrphy_ref(unsigned int uicg_en_ddrphy_ref);
int iSetDDRC_COMMON_CTRL2_icg_en_dfi_dmc(unsigned int uicg_en_dfi_dmc);
int iSetDDRC_COMMON_CTRL2_icg_en_dfi_phy(unsigned int uicg_en_dfi_phy);
int iSetDDRC_COMMON_CTRL2_icg_en_dfi_pack(unsigned int uicg_en_dfi_pack);
int iSetDDRC_COMMON_CTRL2_icg_en_uce_bus(unsigned int uicg_en_uce_bus);
int iSetDDRC_COMMON_CTRL2_icg_en_uce(unsigned int uicg_en_uce);
int iSetDDRC_COMMON_CTRL2_icg_en_pack_apb(unsigned int uicg_en_pack_apb);
int iSetDDRC_COMMON_CTRL2_icg_en_dmc_apb(unsigned int uicg_en_dmc_apb);
int iSetDDRC_COMMON_CTRL3_clk_wr_en(unsigned int uclk_wr_en);
int iSetDDRC_COMMON_CTRL3_uc_div(unsigned int uuc_div);
int iSetDDRC_COMMON_CTRL3_srst_req_uce_32k(unsigned int usrst_req_uce_32k);
int iSetDDRC_COMMON_CTRL3_srst_req_dfi(unsigned int usrst_req_dfi);
int iSetDDRC_COMMON_CTRL3_srst_req_uce_engine(unsigned int usrst_req_uce_engine);
int iSetDDRC_COMMON_CTRL3_srst_req_dmc_free(unsigned int usrst_req_dmc_free);
int iSetDDRC_COMMON_CTRL3_srst_req_dmc(unsigned int usrst_req_dmc);
int iSetDDRC_COMMON_CTRL3_srst_req_pack(unsigned int usrst_req_pack);
int iSetDDRC_COMMON_CTRL3_srst_req_ucem3(unsigned int usrst_req_ucem3);
int iSetDDRC_COMMON_CTRL3_srst_req_uce(unsigned int usrst_req_uce);

#endif // __DUM_REG_C_UNION_DEFINE_H__
